<template>
  <div
    v-motion="{
      initial: { opacity: 0, y: 100 },
      enter: { opacity: 1, y: 0, transition: { delay: Number(delay) } },
    }"
  >
    <slot></slot>
  </div>
</template>

<script lang="ts" setup>
defineProps({
  delay: { type: [Number, String], default: 80 },
})
</script>
